package com.hxzy.shop.order.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author ht
 * @Date 2021/7/13 10:51
 * @Version 1.0
 */
@Data
public class RuleInOrderAndDrugReq implements Serializable {
    private static final long serialVersionUID = 2970470657861313583L;

    @ApiModelProperty("药品id集合")
    @NotNull(message = "药品id集合不能为空")
    private List<Long> drugIds;

    @ApiModelProperty("收货地址所在省市区")
    @NotBlank(message = "收货地址所在省市区不能为空")
    private String receiptAddress;
}
